import request from '@/utils/request'

export function getNewslistData(data) {
  return request('/newslist', 'get', data)
}
export function getNewsDetailData(id) {
  return request(`/news/${id}`, 'get')
}
